package photogcalc;

import photogcalc.util.Settings;

/**
 *
 * @author aokkonen
 */
public class PropertiesModel extends BaseModel {

    private Settings original = new Settings(null);

    public PropertiesModel(Settings settings) {
        original.put("textfielddefault", settings.get("textfielddefault"));
        setSettings(settings);
    }

    public void revertChanges() {
        getSettings().put("textfielddefault", original.get("textfielddefault"));
    }
}
